#include "CalProtoMaxSize.h"
#include "ssproto.h"

int CalProtoMaxSize(NameMap& AllMap,string& MaxName)
{
    AllMap.insert(make_pair(sizeof(char),"char") );
    AllMap.insert(make_pair(sizeof(tagGateHeadStart),"GateHeadStart") );
    AllMap.insert(make_pair(sizeof(tagGateHeadStop),"GateHeadStop") );
    AllMap.insert(make_pair(sizeof(tagGateHeadInProc),"GateHeadInProc") );
    AllMap.insert(make_pair(sizeof(tagSSRoleData),"SSRoleData") );
    AllMap.insert(make_pair(sizeof(tagSSBaseRoleData),"SSBaseRoleData") );
    AllMap.insert(make_pair(sizeof(tagSSAccountData),"SSAccountData") );
    AllMap.insert(make_pair(sizeof(tagSSRoleWeaponSkill),"SSRoleWeaponSkill") );
    AllMap.insert(make_pair(sizeof(tagSSRolePassiveSkill),"SSRolePassiveSkill") );
    AllMap.insert(make_pair(sizeof(tagSSGeneralItem),"SSGeneralItem") );
    AllMap.insert(make_pair(sizeof(tagSSEquipmentItem),"SSEquipmentItem") );
    AllMap.insert(make_pair(sizeof(tagStandardRsp),"StandardRsp") );
    AllMap.insert(make_pair(sizeof(tagSSWorldData),"SSWorldData") );
    AllMap.insert(make_pair(sizeof(tagSSAccountCreateReq),"SSAccountCreateReq") );
    AllMap.insert(make_pair(sizeof(tagSSAccountCreateRsp),"SSAccountCreateRsp") );
    AllMap.insert(make_pair(sizeof(tagSSAccountActiveReq),"SSAccountActiveReq") );
    AllMap.insert(make_pair(sizeof(tagSSAccountActiveRsp),"SSAccountActiveRsp") );
    AllMap.insert(make_pair(sizeof(tagSSAccountLoginReq),"SSAccountLoginReq") );
    AllMap.insert(make_pair(sizeof(tagSSAccountLoginRsp),"SSAccountLoginRsp") );
    AllMap.insert(make_pair(sizeof(tagSSAccountCheckReq),"SSAccountCheckReq") );
    AllMap.insert(make_pair(sizeof(tagSSAccountCheckRsp),"SSAccountCheckRsp") );
    AllMap.insert(make_pair(sizeof(tagSSRoleCreateReq),"SSRoleCreateReq") );
    AllMap.insert(make_pair(sizeof(tagSSDeleteRoleReq),"SSDeleteRoleReq") );
    AllMap.insert(make_pair(sizeof(tagSSDeleteRoleRsp),"SSDeleteRoleRsp") );
    AllMap.insert(make_pair(sizeof(tagSSGetRoleDataByNameReq),"SSGetRoleDataByNameReq") );
    AllMap.insert(make_pair(sizeof(tagSSGetRoleDataByNameRsp),"SSGetRoleDataByNameRsp") );
    AllMap.insert(make_pair(sizeof(tagSSListRoleReq),"SSListRoleReq") );
    AllMap.insert(make_pair(sizeof(tagRoleList),"RoleList") );
    AllMap.insert(make_pair(sizeof(tagSSListRoleRsp),"SSListRoleRsp") );
    AllMap.insert(make_pair(sizeof(tagSSGetRoleDetailedInfo),"SSGetRoleDetailedInfo") );
    AllMap.insert(make_pair(sizeof(tagSSGetRoleDetailedInfoRes),"SSGetRoleDetailedInfoRes") );
    AllMap.insert(make_pair(sizeof(tagSSGetRoleDetailedInfoByName),"SSGetRoleDetailedInfoByName") );
    AllMap.insert(make_pair(sizeof(tagSSGetRoleDetailedInfoByNameRes),"SSGetRoleDetailedInfoByNameRes") );
    AllMap.insert(make_pair(sizeof(tagSSGetRoleDetailedInfoByGID),"SSGetRoleDetailedInfoByGID") );
    AllMap.insert(make_pair(sizeof(tagSSSaveRoleData),"SSSaveRoleData") );
    AllMap.insert(make_pair(sizeof(tagSSSessionRoutingNtf),"SSSessionRoutingNtf") );
    AllMap.insert(make_pair(sizeof(tagSSSaveRoleDataToWS),"SSSaveRoleDataToWS") );
    AllMap.insert(make_pair(sizeof(tagSSSaveRoleDataToWSRsp),"SSSaveRoleDataToWSRsp") );
    AllMap.insert(make_pair(sizeof(tagSSServerOfflineNtf),"SSServerOfflineNtf") );
    AllMap.insert(make_pair(sizeof(tagSSBGExceptionNtf),"SSBGExceptionNtf") );
    AllMap.insert(make_pair(sizeof(tagSSLineInfoReq),"SSLineInfoReq") );
    AllMap.insert(make_pair(sizeof(tag_LineInfo),"_LineInfo") );
    AllMap.insert(make_pair(sizeof(tagSSLineInfo),"SSLineInfo") );
    AllMap.insert(make_pair(sizeof(tagSSSwitchLineReq),"SSSwitchLineReq") );
    AllMap.insert(make_pair(sizeof(tagSSSwitchLineRsp),"SSSwitchLineRsp") );
    AllMap.insert(make_pair(sizeof(tagSSSwitchLineExeRsp),"SSSwitchLineExeRsp") );
    AllMap.insert(make_pair(sizeof(tagSSInsertWeaponSkillReq),"SSInsertWeaponSkillReq") );
    AllMap.insert(make_pair(sizeof(tagSSInsertWeaponSkillRsp),"SSInsertWeaponSkillRsp") );
    AllMap.insert(make_pair(sizeof(tagSSUpdateWeaponSkillReq),"SSUpdateWeaponSkillReq") );
    AllMap.insert(make_pair(sizeof(tagSSUpdateWeaponSkillRsp),"SSUpdateWeaponSkillRsp") );
    AllMap.insert(make_pair(sizeof(tagSSSelectWeaponSkillReq),"SSSelectWeaponSkillReq") );
    AllMap.insert(make_pair(sizeof(tagSSSelectWeaponSkillRsp),"SSSelectWeaponSkillRsp") );
    AllMap.insert(make_pair(sizeof(tagSSInsertPassiveSkillReq),"SSInsertPassiveSkillReq") );
    AllMap.insert(make_pair(sizeof(tagSSInsertPassiveSkillRsp),"SSInsertPassiveSkillRsp") );
    AllMap.insert(make_pair(sizeof(tagSSUpdatePassiveSkillReq),"SSUpdatePassiveSkillReq") );
    AllMap.insert(make_pair(sizeof(tagSSUpdatePassiveSkillRsp),"SSUpdatePassiveSkillRsp") );
    AllMap.insert(make_pair(sizeof(tagSSSelectPassiveSkillReq),"SSSelectPassiveSkillReq") );
    AllMap.insert(make_pair(sizeof(tagSSSelectPassiveSkillRsp),"SSSelectPassiveSkillRsp") );
    AllMap.insert(make_pair(sizeof(tagSSInsertGeneralItemReq),"SSInsertGeneralItemReq") );
    AllMap.insert(make_pair(sizeof(tagSSInsertGeneralItemRsp),"SSInsertGeneralItemRsp") );
    AllMap.insert(make_pair(sizeof(tagSSUpdateGeneralItemReq),"SSUpdateGeneralItemReq") );
    AllMap.insert(make_pair(sizeof(tagSSUpdateGeneralItemRsp),"SSUpdateGeneralItemRsp") );
    AllMap.insert(make_pair(sizeof(tagSSSelectGeneralItemReq),"SSSelectGeneralItemReq") );
    AllMap.insert(make_pair(sizeof(tagSSSelectGeneralItemRsp),"SSSelectGeneralItemRsp") );
    AllMap.insert(make_pair(sizeof(tagSSInsertEquipmentItemReq),"SSInsertEquipmentItemReq") );
    AllMap.insert(make_pair(sizeof(tagSSInsertEquipmentItemRsp),"SSInsertEquipmentItemRsp") );
    AllMap.insert(make_pair(sizeof(tagSSUpdateEquipmentItemReq),"SSUpdateEquipmentItemReq") );
    AllMap.insert(make_pair(sizeof(tagSSUpdateEquipmentItemRsp),"SSUpdateEquipmentItemRsp") );
    AllMap.insert(make_pair(sizeof(tagSSSelectEquipmentItemReq),"SSSelectEquipmentItemReq") );
    AllMap.insert(make_pair(sizeof(tagSSSelectEquipmentItemRsp),"SSSelectEquipmentItemRsp") );
    AllMap.insert(make_pair(sizeof(tagSSBattleServerMapRegisterReq),"SSBattleServerMapRegisterReq") );
    AllMap.insert(make_pair(sizeof(tagSSRegisterBattleSvrReq),"SSRegisterBattleSvrReq") );
    AllMap.insert(make_pair(sizeof(tagSSRegisterTownSvrReq),"SSRegisterTownSvrReq") );
    AllMap.insert(make_pair(sizeof(tagSSBattleServerMapRegisterRsp),"SSBattleServerMapRegisterRsp") );
    AllMap.insert(make_pair(sizeof(tagSSRegisterBattleSvrRsp),"SSRegisterBattleSvrRsp") );
    AllMap.insert(make_pair(sizeof(tagSSRegisterTownSvrRsp),"SSRegisterTownSvrRsp") );
    AllMap.insert(make_pair(sizeof(tagSSReRegisterInstanceSvrNtf),"SSReRegisterInstanceSvrNtf") );
    AllMap.insert(make_pair(sizeof(tagSSUpdateInstanceSvrNtf),"SSUpdateInstanceSvrNtf") );
    AllMap.insert(make_pair(sizeof(tagSSUserLogoutSvrReq),"SSUserLogoutSvrReq") );
    AllMap.insert(make_pair(sizeof(tagSSUserLogoutSvrRsp),"SSUserLogoutSvrRsp") );
    AllMap.insert(make_pair(sizeof(tagSSUserLoginTownSvrReq),"SSUserLoginTownSvrReq") );
    AllMap.insert(make_pair(sizeof(tagSSUserLoginTownSvrRsp),"SSUserLoginTownSvrRsp") );
    AllMap.insert(make_pair(sizeof(tagSSInstanceInitInfo),"SSInstanceInitInfo") );
    AllMap.insert(make_pair(sizeof(tagSSReEnterTownSvrReq),"SSReEnterTownSvrReq") );
    AllMap.insert(make_pair(sizeof(tagSSReEnterTownSvrRsp),"SSReEnterTownSvrRsp") );
    AllMap.insert(make_pair(sizeof(tagEnterInstanceSvrRoleInfo),"EnterInstanceSvrRoleInfo") );
    AllMap.insert(make_pair(sizeof(tagSSEnterInstanceSvrReq),"SSEnterInstanceSvrReq") );
    AllMap.insert(make_pair(sizeof(tagSSForceEnterInstanceSvrReq),"SSForceEnterInstanceSvrReq") );
    AllMap.insert(make_pair(sizeof(tagSSEnterInstanceSvrRsp),"SSEnterInstanceSvrRsp") );
    AllMap.insert(make_pair(sizeof(tagSSForceEnterInstanceSvrRsp),"SSForceEnterInstanceSvrRsp") );
    AllMap.insert(make_pair(sizeof(tagSSReEnterInstanceReq),"SSReEnterInstanceReq") );
    AllMap.insert(make_pair(sizeof(tagSSReEnterInstanceRsp),"SSReEnterInstanceRsp") );
    AllMap.insert(make_pair(sizeof(tagSSInstanceDestroyNtf),"SSInstanceDestroyNtf") );
    AllMap.insert(make_pair(sizeof(tagSSSysGMCmdReq)," SSSysGMCmdReq") );
    AllMap.insert(make_pair(sizeof(tagSSSysGMCmdRsp),"SSSysGMCmdRsp") );
    AllMap.insert(make_pair(sizeof(tagSSInstanceFreeNtf)," SSInstanceFreeNtf") );
    AllMap.insert(make_pair(sizeof(tagSSChangeTownInstanceNtf),"SSChangeTownInstanceNtf") );
    AllMap.insert(make_pair(sizeof(tagSSTownSvrResumeInfo),"SSTownSvrResumeInfo") );
    AllMap.insert(make_pair(sizeof(tagSSTownSvrResumeNtf),"SSTownSvrResumeNtf") );
    AllMap.insert(make_pair(sizeof(tagSSResetBGNtf)," SSResetBGNtf") );
    AllMap.insert(make_pair(sizeof(tagSSPlayerPeerCloseNtf),"SSPlayerPeerCloseNtf") );
    AllMap.insert(make_pair(sizeof(tagSSInstanceVerifyInfoReq),"SSInstanceVerifyInfoReq") );
    AllMap.insert(make_pair(sizeof(tagSSInstanceVerifyInfoRsp),"SSInstanceVerifyInfoRsp") );
    AllMap.insert(make_pair(sizeof(tagSSForceInstanceVerifyInfoReq),"SSForceInstanceVerifyInfoReq") );
    AllMap.insert(make_pair(sizeof(tagSSForceInstanceVerifyInfoRsp),"SSForceInstanceVerifyInfoRsp") );
    AllMap.insert(make_pair(sizeof(tagSSCreateInstanceResult),"SSCreateInstanceResult") );
    AllMap.insert(make_pair(sizeof(tagSSLeaveGameNtf),"SSLeaveGameNtf") );
    AllMap.insert(make_pair(sizeof(tagSSLeaveInstanceNtf),"SSLeaveInstanceNtf") );
    AllMap.insert(make_pair(sizeof(tagSSReselectRoleReq),"SSReselectRoleReq") );
    AllMap.insert(make_pair(sizeof(tagSSReselectRoleRsp),"SSReselectRoleRsp") );
    AllMap.insert(make_pair(sizeof(tagSSTeamMember),"SSTeamMember") );
    AllMap.insert(make_pair(sizeof(tagSSTeam),"SSTeam") );
    AllMap.insert(make_pair(sizeof(tagSSTeamCreateReq),"SSTeamCreateReq") );
    AllMap.insert(make_pair(sizeof(tagSSTeamCreateNtf),"SSTeamCreateNtf") );
    AllMap.insert(make_pair(sizeof(tagSSTeamJoinReq),"SSTeamJoinReq") );
    AllMap.insert(make_pair(sizeof(tagSSTeamAddMemberNtf),"SSTeamAddMemberNtf") );
    AllMap.insert(make_pair(sizeof(tagSSTeamInfoReq),"SSTeamInfoReq") );
    AllMap.insert(make_pair(sizeof(tagSSTeamInfoRsp),"SSTeamInfoRsp") );
    AllMap.insert(make_pair(sizeof(tagSSTeamQuitReq),"SSTeamQuitReq") );
    AllMap.insert(make_pair(sizeof(tagSSTeamQuitRsp),"SSTeamQuitRsp") );
    AllMap.insert(make_pair(sizeof(tagSSTeamKickReq),"SSTeamKickReq") );
    AllMap.insert(make_pair(sizeof(tagSSTeamKickRsp),"SSTeamKickRsp") );
    AllMap.insert(make_pair(sizeof(tagSSTeamChangeLeaderReq),"SSTeamChangeLeaderReq") );
    AllMap.insert(make_pair(sizeof(tagSSTeamChangeLeaderRsp),"SSTeamChangeLeaderRsp") );
    AllMap.insert(make_pair(sizeof(tagSSTeamDelMemberNtf),"SSTeamDelMemberNtf") );
    AllMap.insert(make_pair(sizeof(tagSSTeamDelTeamNtf),"SSTeamDelTeamNtf") );
    AllMap.insert(make_pair(sizeof(tagSSTeamUpdateMemberNtf),"SSTeamUpdateMemberNtf") );
    AllMap.insert(make_pair(sizeof(tagSSTeamModifyNtf),"SSTeamModifyNtf") );
    AllMap.insert(make_pair(sizeof(tagSSChatReq),"SSChatReq") );
    AllMap.insert(make_pair(sizeof(tagSSChatRsp),"SSChatRsp") );
    AllMap.insert(make_pair(sizeof(tagSSSystemChatNtf),"SSSystemChatNtf") );
    AllMap.insert(make_pair(sizeof(tagSSNoticeNtf),"SSNoticeNtf") );
    AllMap.insert(make_pair(sizeof(tagSSChatByNameReq),"SSChatByNameReq") );
    AllMap.insert(make_pair(sizeof(tagSSAuctionAddRecordReq),"SSAuctionAddRecordReq") );
    AllMap.insert(make_pair(sizeof(tagSSAuctionAddRecordRes),"SSAuctionAddRecordRes") );
    AllMap.insert(make_pair(sizeof(tagSSAuctionSyncPlayerItemCount),"SSAuctionSyncPlayerItemCount") );
    AllMap.insert(make_pair(sizeof(tagSSAuctionSearchReq),"SSAuctionSearchReq") );
    AllMap.insert(make_pair(sizeof(tagSSAuctionSearchRes),"SSAuctionSearchRes") );
    AllMap.insert(make_pair(sizeof(tagSSAuctionPageReq),"SSAuctionPageReq") );
    AllMap.insert(make_pair(sizeof(tagSSAuctionRecord),"SSAuctionRecord") );
    AllMap.insert(make_pair(sizeof(tagSSAuctionResultRes),"SSAuctionResultRes") );
    AllMap.insert(make_pair(sizeof(tagSSFriendsOnlineReq),"SSFriendsOnlineReq") );
    AllMap.insert(make_pair(sizeof(tagSSFriendOnline),"SSFriendOnline") );
    AllMap.insert(make_pair(sizeof(tagSSFriendsOnlineRsp),"SSFriendsOnlineRsp") );
    AllMap.insert(make_pair(sizeof(tagSSFriendOnlineNtf),"SSFriendOnlineNtf") );
    AllMap.insert(make_pair(sizeof(tagSSFriendOfflineNtf),"SSFriendOfflineNtf") );
    AllMap.insert(make_pair(sizeof(tagSSFriendQueryReq),"SSFriendQueryReq") );
    AllMap.insert(make_pair(sizeof(tagSSFriendQueryRspInfo),"SSFriendQueryRspInfo") );
    AllMap.insert(make_pair(sizeof(tagSSFriendQueryRsp),"SSFriendQueryRsp") );
    AllMap.insert(make_pair(sizeof(tagSSAasInfoNotify),"SSAasInfoNotify") );
    AllMap.insert(make_pair(sizeof(tagSSPkgHead),"SSPkgHead") );
    AllMap.insert(make_pair(sizeof(tagSSPkg),"SSPkg") );
    NameMap::iterator itBegin = AllMap.begin();
    MaxName = itBegin->second;
    return itBegin->first;
}